package com.easylinkin.linkappapi.webcammanage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.elasticsearch.entity.EsHistogramResponseModel;
import com.easylinkin.linkappapi.webcammanage.entity.DataAnalystBean;
import com.easylinkin.linkappapi.webcammanage.entity.DataStaticticsBean;
import com.easylinkin.linkappapi.webcammanage.entity.QueryHistogramBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface DataStatisticsService extends IService<DataAnalystBean> {

    DataStaticticsBean momData();

    EsHistogramResponseModel histogram(QueryHistogramBean queryHistogramBean);

    void exportHistogram(QueryHistogramBean queryHistogramBean, HttpServletRequest request, HttpServletResponse response);
}
